## 100000 variables, hence 100000 F-tests will be performed
x = matrix( rnorm(100 * 10000), ncol = 10000 )
## 100 observations in total
ina = rbinom(100, 3, 0.6) + 1 ## independent samples t-test
system.time( ftests(x, ina) )
Run the code above in your browser using DataLab